Skip to content

fix: SearXNG search provider improvements and bug fixes#930

Open
norci wants to merge 9 commits intoRightNow-AI:mainfrom
norci:add-searxng-search-provider
Open

fix: SearXNG search provider improvements and bug fixes#930
norci wants to merge 9 commits intoRightNow-AI:mainfrom
norci:add-searxng-search-provider

Conversation

@norci
Copy link
Copy Markdown

@norci norci commented Mar 31, 2026

Related

Follow-up to #920

Changes

Bug Fixes

  • Fix bundled.rs: remove non-existent reference to ../bundled/searxng/SKILL.md
  • Remove unused page parameter from search_searxng

Features

  • Add list_searxng_categories tool to agent tool lists
  • Consolidate web-search skill with SearXNG integration

Documentation

  • Update bundled skills count from 61 to 60
  • Move SearXNG section earlier in web-search SKILL.md for better visibility
  • Add SearXNG to web search providers in docs and tool definitions

Refactoring

  • Streamline searxng skill - remove web-search duplication, add runtime integration

Configuration

The SearXNG configuration is simple — only url is required:

[web]
search_provider = "searxng"

[web.searxng]
url = "https://your-searxng-instance.com"

Note: Unlike other providers (Brave, Tavily), SearXNG does not have a max_results field. The docs in configuration.md are already correct.

Files Changed

39 files, +1245/-346 lines

beann added 8 commits March 31, 2026 08:41
- Add list_searxng_categories tool to discover SearXNG categories dynamically
- Merge searxng/SKILL.md into web-search/SKILL.md
- Remove hardcoded category table, use tool instead
- Delete searxng/SKILL.md (no longer needed)
The page parameter was always hardcoded to 1 and never passed from
the upper layer. Remove it to simplify the method signature.
Add list_searxng_categories to all agents that have web_search in their
tools list, so they can discover available SearXNG categories.
After removing searxng skill, update all references to the bundled
skills count in documentation and test assertions.
Moved the SearXNG Search section after Search Techniques so it appears
earlier in the file. Condensed the file to 1996 chars.
@norci
Copy link
Copy Markdown
Author

norci commented Mar 31, 2026

PR #920 was created by the agent without my permission and has some flaws.

This is the complete implementation. I have run it on my local machine and the agent can now correctly use searxng for searches.

@norci
Copy link
Copy Markdown
Author

norci commented Mar 31, 2026

CI Status Update

Fixed

  • Format — Applied to fix formatting issues introduced by this PR's changes

Pre-existing failures (not related to this PR)

The following CI checks are failing on the main branch as well and are unrelated to the SearXNG changes in this PR:

  • Security AuditRUSTSEC-2026-0049 in rustls-webpki 0.102.8 (needs upgrade to >=0.103.10). Dependency chain: rumqttc 0.24.0 → openfang-channels
  • Clippy / Check / Test — Blocked by the same security vulnerability in the dependency tree

Recent main branch merges (#753, #877, #881) all have the same CI failures, confirming these are pre-existing issues that should be addressed in a separate PR (e.g., upgrading rumqttc or rustls-webpki).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant